<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理活动</title>
</head>
<body>
<table width="100%" height="100%">
<tr>
	<td valign="top">
		<s:if test="%{role==0}">
			<jsp:include page="../readhead.jsp"/>
		</s:if>
		<s:elseif test="%{role==1}">
			<jsp:include page="../writehead.jsp"/>
		</s:elseif>
		<s:elseif test="%{role==2}">
			<jsp:include page="../head.jsp"/>
		</s:elseif>
	</td>
</tr>
</table>
<table width="600" border="1">

<s:url id="url1" action="addActivityAction">
	<s:param name="pname" value="'交付阶段'"></s:param>
</s:url>
<tr>
	<th align="left" width="200">交付阶段</th>
	<th align="left" width="200"><s:a href="%{url1}">添加新名称</s:a></th>
	<th align="left" width="200"></th>
</tr>
<s:iterator id="curactivity1" value="list1">
	<s:url id="url11" action="removeActivityAction"> 
		<s:param name="cname" value="#curactivity1"></s:param>
		<s:param name="pname" value="'交付阶段'"></s:param>
	</s:url> 
	<tr>
		<td align="right" width="200"></td>
		<td align="right" width="200">${curactivity1}</td>
		<td align="right" width="200"><s:a href="%{url11}">删除</s:a></td>
	</tr>
</s:iterator>
<!--  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -->
<s:url id="url2" action="addActivityAction">
	<s:param name="pname" value="'入住阶段'"></s:param>
</s:url>
<tr>
	<th align="left" width="200">入住阶段</th>
	<th align="left" width="200"><s:a href="%{url2}">添加新名称</s:a></th>
	<th align="left" width="200"></th>
</tr>
<s:iterator id="curactivity2" value="list2">
	<s:url id="url22" action="removeActivityAction"> 
		<s:param name="cname" value="#curactivity2"></s:param>
		<s:param name="pname" value="'入住阶段'"></s:param>
	</s:url> 
	<tr>
		<td align="right" width="200"></td>
		<td align="right" width="200">${curactivity2}</td>
		<td align="right" width="200"><s:a href="%{url22}">删除</s:a></td>
	</tr>
</s:iterator>
<!--  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -->
<s:url id="url3" action="addActivityAction">
	<s:param name="pname" value="'房屋保修'"></s:param>
</s:url>
<tr>
	<th align="left" width="200">房屋保修</th>
	<th align="left" width="200"><s:a href="%{url3}">添加新名称</s:a></th>
	<th align="left" width="200"></th>
</tr>
<s:iterator id="curactivity3" value="list3">
	<s:url id="url33" action="removeActivityAction"> 
		<s:param name="cname" value="#curactivity3"></s:param>
		<s:param name="pname" value="'房屋保修'"></s:param>
	</s:url> 
	<tr>
		<td align="right" width="200"></td>
		<td align="right" width="200">${curactivity3}</td>
		<td align="right" width="200"><s:a href="%{url33}">删除</s:a></td>
	</tr>
</s:iterator>
<!--  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -->
<s:url id="url4" action="addActivityAction">
	<s:param name="pname" value="'投诉'"></s:param>
</s:url>
<tr>
	<th align="left" width="200">投诉</th>
	<th align="left" width="200"><s:a href="%{url4}">添加新名称</s:a></th>
	<th align="left" width="200"></th>
</tr>
<s:iterator id="curactivity4" value="list4">
	<s:url id="url44" action="removeActivityAction"> 
		<s:param name="cname" value="#curactivity4"></s:param>
		<s:param name="pname" value="'投诉'"></s:param>
	</s:url> 
	<tr>
		<td align="right" width="200"></td>
		<td align="right" width="200">${curactivity4}</td>
		<td align="right" width="200"><s:a href="%{url44}">删除</s:a></td>
	</tr>
</s:iterator>
<!--  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -->
<s:url id="url5" action="addActivityAction">
	<s:param name="pname" value="'咨询'"></s:param>
</s:url>
<tr>
	<th align="left" width="200">咨询</th>
	<th align="left" width="200"><s:a href="%{url5}">添加新名称</s:a></th>
	<th align="left" width="200"></th>
</tr>
<s:iterator id="curactivity5" value="list5">
	<s:url id="url55" action="removeActivityAction"> 
		<s:param name="cname" value="#curactivity5"></s:param>
		<s:param name="pname" value="'咨询'"></s:param>
	</s:url> 
	<tr>
		<td align="right" width="200"></td>
		<td align="right" width="200">${curactivity5}</td>
		<td align="right" width="200"><s:a href="%{url55}">删除</s:a></td>
	</tr>
</s:iterator>
<!--  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -->
<s:url id="url6" action="addActivityAction">
	<s:param name="pname" value="'满意度回访'"></s:param>
</s:url>
<tr>
	<th align="left" width="200">满意度回访</th>
	<th align="left" width="200"><s:a href="%{url6}">添加新名称</s:a></th>
	<th align="left" width="200"></th>
</tr>
<s:iterator id="curactivity6" value="list6">
	<s:url id="url66" action="removeActivityAction"> 
		<s:param name="cname" value="#curactivity6"></s:param>
		<s:param name="pname" value="'满意度回访'"></s:param>
	</s:url> 
	<tr>
		<td align="right" width="200"></td>
		<td align="right" width="200">${curactivity6}</td>
		<td align="right" width="200"><s:a href="%{url22}">删除</s:a></td>
	</tr>
</s:iterator>
</table>
</body>
</html>